<template>
	<button @click="getlist">按键</button>
</template>

<script>
	export default {
		data() {
			return {
			}
		},
		onLoad() {

		},
		methods: {
			getlist(){
				uni.request({
 url: 'https://tomato.daoxuan.cc/timetable/',
 data: {
	"date":this.FirstTalkDate.date,
 },
 header: {
//  Accept: 'application/json',
//  'Content-Type': 'application/json',
//  'X-Requested-With': 'XMLHttpRequest'
Authorization:"Bearer "+uni.getStorageSync('login').access,
 },
 method: 'POST',
 sslVerify: true,
 success: ({ data, statusCode, header }) => {
 console.log(data); 
 console.log(statusCode);
 console.log(header);
 },
 fail: (error) => { 
 console.err(error);
 }
})
			}
            
		}
	}
</script>
<style>
</style>

